package com.imooc.pan.server.modules.file.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author hhb
 * @data 2024/6/8 21:11
 */
@Data
@ApiModel("文件秒传参数")
public class SecUploadFilePO implements Serializable {

    @ApiModelProperty(value = "文件夹ID",required = true)
    @NotBlank(message = "文件夹ID不能为空")
    private String parentId;

    @ApiModelProperty(value = "文件名称",required = true)
    @NotBlank(message = "文件名称不能为空")
    private String fileName;

    @ApiModelProperty(value = "文件唯一标识",required = true)
    @NotBlank(message = "文件唯一标识不能为空")
    private String identifier;
}
